package com.youlu.campus.admin.community.entity;

import com.youlu.campus.base.community.TopicBase;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 话题信息实体类
 * @author: YangJ
 * @date: 2020/11/23 19:36
 */
@Data
@Document(collection = "topic_info")
public class TopicInfo extends TopicBase {
    /**
     * 热度数（点击数+点赞数+分享数+评论数）
     */
    private Integer hotCount = 0;
    /**
     * 参与人数
     */
    private Integer joinCount = 0;
    /**
     * 评论数
     */
    private Integer commentCount = 0;
    /**
     * 点赞数
     */
    private Integer likeCount = 0;
    /**
     * 分享数
     */
    private Integer shareCount = 0;
    /**
     * 动态数
     */
    private Integer contentCount = 0;
    /**
     * 权重
     */
    private Integer weight = 0;
}
